// 用户相关API
import http from "@/utils/http";
const base = '/user'
// 创建验证码
export const createCode = (params) => http.get(`${base}/createCode`, { params });
// 登录
export const login = (params) => http.post(`${base}/login`, params);
// 用户信息
export const info = (params) => http.get(`${base}/info`, { params });
export default {
  login,
  info,
};
